package cn.hansfly.extend;

class Instrument{
	public void play(){
		System.out.println("Instrument Play()");
	}
}

public class Wind extends Instrument{
	public void play(){
		System.out.println("Wind Play()");
	}
	
	
	public static void tune(Instrument i){
		i.play();
	}
	
	public static void main(String[] args) {
		Wind flute = new Wind();
		Wind.tune(flute);
	}
}
